package com.uwlaser.service.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;
import java.sql.Timestamp;
import io.swagger.annotations.ApiModelProperty;

/**
* @author zk-Qin
* @date 2022-05-11
*/
@Data
@Builder
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class DeviceAlarmDto implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    private Integer id;

    @ApiModelProperty(value = "设备编码")
    private String deviceCode;

    @ApiModelProperty(value = "设备名称")
    private String deviceName;

    @ApiModelProperty(value = "产线编码")
    private String lineCode;

    @ApiModelProperty(value = "工段编码")
    private String sectionCode;

    @ApiModelProperty(value = "工位编码")
    private String stationCode;

    @ApiModelProperty(value = "报警状态")
    private String alarmStatus;

    @ApiModelProperty(value = "故障信息")
    private String alarmMsg;

    @ApiModelProperty(value = "报警代码")
    private String alarmCode;

    @ApiModelProperty(value = "开始报警时间")
    private Date startTime;

    @ApiModelProperty(value = "结束报警时间")
    private Date endTime;

    @ApiModelProperty(value = "耗时（分）")
    private BigDecimal tripTime;

    @ApiModelProperty(value = "创建人")
    private String createBy;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新人")
    private String updateBy;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
}
